package com.azh.server.util;

/**
 * @author zhaozhenhang <zhaozhenhang@kuaishou.com>
 * Created on 2022-04-26
 */
public class Types {

    public static long addressToUid(int pageNumber, short offset) {
        long u0 = pageNumber;
        long u1 = offset;
        return u0 << 32 | u1;
    }
}
